package com.dongdongshop.service.goods_jpa;

import com.dongdongshop.pojo.goods.TbGoods;
import com.dongdongshop.pojo.goods_desc.TbGoodsDesc;
import com.dongdongshop.pojo.item.TbItem;
import com.dongdongshop.pojo.seller.TbSeller;

import java.util.List;

public interface GoodsJpaService {
    void insertGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, List<TbItem> tbItems, TbSeller tbSeller);

    void updateAudit(Long[] ids);

    List<TbGoods> listGoodsByUnreviewed();

    void updateAuditToPass(Long[] ids);

    TbGoods getGoodsById(Long goodsId);
}
